<template>
	
	<div>
		
	
		<!-- /// -->
		
		<div v-if="canShow">
			<div class="header">
		
				<!-- title="智能供佛系统" -->
				<van-nav-bar style="  background: linear-gradient(90deg, #41A9B7,#4fd4e2, #41A9B7);height:  5rem;;line-height:  5rem;">
					<span class="title" slot="title">龛位管理</span>
		
		
					<span style="font-size:1.5625rem ; color: white; font-weight: 500;" slot="right">
						<van-button type="primary" color="#348994" @click="back">&nbsp;返&nbsp;&nbsp;&nbsp;回&nbsp;</van-button>
					</span>
		
				</van-nav-bar>
				<!-- <van-nav-bar title="智能供佛系统" style=" background: url(./images/系统标题部分.png);height: 80px;line-height: 80px; background-size:1142px 80px;background-repeat:no-repeat;">
					<van-icon name="search" slot="right" />
				</van-nav-bar> -->
			</div>
			<!-- /////////////////////////////////////////////////////////// -->
			<div class="content" >
		
		
		
		
				<div class="image">
					<van-row type="flex" justify="space-around">
						<van-col span="1"></van-col>
						<!--  <van-col span="6"><img src="../../public/images/rank.png" alt=""  @click=""  ></van-col> -->
						<van-col span="6">
							<van-image :src="require('@/assets/img/dingdan2.png')" @click="$router.push('adminPageOrder')" width:="18rem" height="10.9375rem"
							 fit="cover" />
						</van-col>
						<van-col span="6">
							<van-image :src="require('@/assets/img/dengguanli2.png')" @click="toLed()" width:="18rem" height="10.9375rem"
							 fit="cover" />
						</van-col>
						<!-- <van-col span="6">
							<van-image src="./images/xundeng.png" @click="goXundeng" width:="17.375rem" height="10.9375rem" fit="cover" />
						</van-col> -->
		
		
						<van-col span="1"></van-col>
					</van-row>
				</div>
			</div>
		</div>
		
		<!-- /// -->
		<div v-else="canShow">
			<van-loading size="100px"color="red" >加载中...</van-loading>
		</div>
	</div>

		
	
	
	
	

</template>

<script>
	export default {


		data() {
			return {
				canShow:false

			}
		},
		methods: {

			back() {
				this.$router.push("homePage");
			}
			,toLed(){
				this.$router.push('adminPageLed');
				
				//window.location.href="http://localhost:8080/#/adminPageLed?tid=100"
				//window.location.href="http://mianmianshi.com/jiesuan/demotest/#/adminPageLed?tid="+localStorage.tid;
			}

		},

		created() {

		},
		mounted() {
			this.canShow=true;
		}

	}
</script>

<style>
	.xundeng {
		position: absolute;
		height: 100%;
		width: 100%;
		background: url(../../public/images/xundeng.png) no-repeat;
		background-size: 100% 100%;
	}
</style>
